import service from '@/utils/request'

// @Tags LargeScaleOrderColor
// @Summary 创建大办单-做色要求
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderColor true "创建大办单-做色要求"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /largeScaleOrderColor/createLargeScaleOrderColor [post]
export const createLargeScaleOrderColor = (data) => {
  return service({
    url: '/largeScaleOrderColor/createLargeScaleOrderColor',
    method: 'post',
    data
  })
}

// @Tags LargeScaleOrderColor
// @Summary 删除大办单-做色要求
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderColor true "删除大办单-做色要求"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /largeScaleOrderColor/deleteLargeScaleOrderColor [delete]
export const deleteLargeScaleOrderColor = (params) => {
  return service({
    url: '/largeScaleOrderColor/deleteLargeScaleOrderColor',
    method: 'delete',
    params
  })
}

// @Tags LargeScaleOrderColor
// @Summary 批量删除大办单-做色要求
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除大办单-做色要求"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /largeScaleOrderColor/deleteLargeScaleOrderColor [delete]
export const deleteLargeScaleOrderColorByIds = (params) => {
  return service({
    url: '/largeScaleOrderColor/deleteLargeScaleOrderColorByIds',
    method: 'delete',
    params
  })
}

// @Tags LargeScaleOrderColor
// @Summary 更新大办单-做色要求
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderColor true "更新大办单-做色要求"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /largeScaleOrderColor/updateLargeScaleOrderColor [put]
export const updateLargeScaleOrderColor = (data) => {
  return service({
    url: '/largeScaleOrderColor/updateLargeScaleOrderColor',
    method: 'put',
    data
  })
}

// @Tags LargeScaleOrderColor
// @Summary 用id查询大办单-做色要求
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.LargeScaleOrderColor true "用id查询大办单-做色要求"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /largeScaleOrderColor/findLargeScaleOrderColor [get]
export const findLargeScaleOrderColor = (params) => {
  return service({
    url: '/largeScaleOrderColor/findLargeScaleOrderColor',
    method: 'get',
    params
  })
}

// @Tags LargeScaleOrderColor
// @Summary 分页获取大办单-做色要求列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取大办单-做色要求列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /largeScaleOrderColor/getLargeScaleOrderColorList [get]
export const getLargeScaleOrderColorList = (params) => {
  return service({
    url: '/largeScaleOrderColor/getLargeScaleOrderColorList',
    method: 'get',
    params
  })
}
